package com.tt.plat8.commons.ui;


public final class Notifications {

	private Notifications() {

	}

//	public static void showErrorMessage(Application application, Throwable throwable, String messageFormat,
//			Object... args) {
//		application.getMainWindow().showNotification(String.format(messageFormat, args), throwable.getMessage(),
//				Notification.TYPE_ERROR_MESSAGE);
//	}

//	/**
//	 * Show an error message.
//	 *
//	 * @param application the application
//	 * @param message the message to be shown
//	 */
//	public static void showErrorMessage(Application application, String messageFormat, Object... args) {
//		application.getMainWindow().showNotification(String.format(messageFormat, args),
//				Notification.TYPE_ERROR_MESSAGE);
//	}
//
//	public static void showTrayMessage(Application application, String messageFormat, Object... args) {
//		application.getMainWindow().showNotification(String.format(messageFormat, args),
//				Notification.TYPE_TRAY_NOTIFICATION);
//	}

}
